﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BillInformation.aspx.cs"
    Inherits="BillInformation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Welcome,
        <asp:Label ID="lblUserID" runat="server" Text="[lblUserID]"></asp:Label>.
        <br />
        <h3>
            Billing Information :
        </h3>
        <p>
            <table>
                <tr>
                    <td>
                        <asp:Label ID="lblFirstName" runat="server" Text="First Name : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="valFirstName" runat="server" ErrorMessage="Please enter First Name"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblLastName" runat="server" Text="Last Name : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="valLastName" runat="server" ErrorMessage="Please enter Last Name"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblEmail" runat="server" Text="Email : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter Email"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCity" runat="server" Text="City : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="valCity" runat="server" ErrorMessage="Please enter City"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblStatus" runat="server" Text="Status : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtStatus" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="valStatus" runat="server" ErrorMessage="Please enter Status"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCountry" runat="server" Text="Country : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCountry" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="valCountry" runat="server" ErrorMessage="Please enter Country"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblZipCode" runat="server" Text="Zip-Code : "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtZipCode" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="valZipCode" runat="server" ErrorMessage="Please enter Zip-Code"
                            ForeColor="#FF3300"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:CompareValidator ID="cvalZipCodeFormat" runat="server" ErrorMessage="Please enter zip code in number format"
                            ForeColor="#FF3300" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>
                    </td>
                </tr>
            </table>
        </p>
        <p>
            <strong>Payment Information : </strong>
        </p>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblCreditCard" runat="server" Text="Credit Card : "></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlCreditCard" runat="server">
                        <asp:ListItem Value="0">Select</asp:ListItem>
                        <asp:ListItem>MasterCard</asp:ListItem>
                        <asp:ListItem>AltaVista</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="valCreditCard" runat="server" 
                        ErrorMessage="Please enter Credit Card" ForeColor="#FF3300" InitialValue="0"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblCreditCardNumber" runat="server" Text="Credit Card Number : "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtCreditCardNumber" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="valCreditCardNumber" runat="server" 
                        ErrorMessage="Please enter credit card number" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                </td>
                <td></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
